<template>
	<view>
		<view class="uc-grid">
			<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30">
				<view class="u-m-r-30">
					<image src="../../static/images/avatar.png" class="u-avatar" mode=""></image>
				</view>
				<view class="u-flex-1">
					<view class="u-font-18 u-p-b-10">Sincere</view>
					<view class="u-font-14 u-vip-box">
						<text class="iconfont icon-vip"></text><text>高级会员</text>
					</view>
				</view>
				<view class="u-m-l-10 u-p-10">
					<button type="default" class="btn ybutton">
						<text class="iconfont icon-chongzhi"></text><text>预存款充值</text>
					</button>
				</view>
			</view>
			<view class="uc-datas">
				<u-row >
					<u-col span="6">
						<view class="data-box">
							<view class="value">
								<text>128</text>
							</view>
							<view class="text">交易订单</view>
						</view>
					</u-col>
					<u-col span="6">
						<view class="data-box">
							<view class="value">$ <text>7916</text></view>
							<view class="text">预存款</view>
						</view>
					</u-col>
				</u-row>
			</view>
		</view>
		<view class="u-main">
			<view class="u-panel ">
				<u-cell-group>
					<u-cell-item :arrow="true" title="我的订单" ></u-cell-item>
				</u-cell-group>
				<view class="u-menu-cells">
					<u-row >
						<u-col span="3">
							<view class="menu-box">
								<image src="../../static/images/uc-menu1.png" mode=""></image>
								<view class="text">待付款</view>
							</view>
						</u-col>
						<u-col span="3">
							<view class="menu-box">
								<image src="../../static/images/uc-menu2.png" mode=""></image>
								<view class="text">待发货</view>
							</view>
						</u-col>
						<u-col span="3">
							<view class="menu-box">
								<image src="../../static/images/uc-menu3.png" mode=""></image>
								<view class="text">待收货</view>
							</view>
						</u-col>
						<u-col span="3">
							<view class="menu-box">
								<image src="../../static/images/uc-menu4.png" mode=""></image>
								<view class="text">已完成</view>
							</view>
						</u-col>
					</u-row>
				</view>
			</view>
			<view class="u-panel u-m-t-20">
				<u-cell-group>
					<u-cell-item :arrow="true" title="账户信息" >
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav1.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item :arrow="true" title="修改密码">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav2.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item :arrow="true" title="我的收藏">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav3.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item center title="我的优惠券">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav4.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item :arrow="true" title="领取优惠券">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav5.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item :arrow="true" title="地址管理">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav6.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item :arrow="true" title="浏览历史">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav7.png" mode=""></image>
						</view>
					</u-cell-item>
				</u-cell-group>
			</view>
			<view class="u-panel u-m-t-20">
				<u-cell-group>
					<u-cell-item :arrow="true" title="申请成为分享者">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav8.png" mode=""></image>
						</view>
					</u-cell-item>
					<u-cell-item  :arrow="true" title="分享赚钱规则">
						<view slot="icon" class="u-icon">
							<image src="../../static/images/unav9.png" mode=""></image>
						</view>
					</u-cell-item>
				</u-cell-group>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pic:'../../static/images/avatar.png',
				show:true
			}
		},
		onLoad() {
			
		},
		methods: {}
	}
</script>

<style lang="scss">
page{
	background-color: #f5f5f5;
}
.u-vip-box{
	display: inline-block;
	border-radius: 40px;
	font-size: 26rpx;
	padding: 0 26rpx;
	line-height: 40rpx;
	border: 1px solid #FFFFFF;
}
.uc-datas{
	position: relative;
	text-align: center;
	color: #FFFFFF;
	.data-box{
		text-align: center;
	}
	.text{
		font-size: 24rpx;
	}
	.value{
		text{
			font-weight: bold;
			font-size: 40rpx;
		}
	}
	&::after{
		content: '';
		width: 1px;
		height: 60rpx;
		background-color: #FFFFFF;
		position: absolute;
		left: 50%;
		top: 50%;
		margin-top: -30rpx;
		opacity: .3;
	}
}
.u-avatar{
	width: 120rpx;
	border-radius: 120rpx;
	height: 120rpx;
	border: 2px solid #FFFFFF;
	&:active{
		background-color: #ededed;
	}
}
.u-icon{
	margin-right: 20rpx;
	line-height: 1;
	font-size: 0;
	image{
		width: 40rpx;
		height: 40rpx;
	}
}
.u-panel{
	background-color: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
}
.u-main{
	position: relative;
	z-index: 999;
	background-color: #f5f5f5;
	padding: 20rpx;
	border-radius: 30rpx 30rpx 0 0;
	margin-top: -40rpx;
}
.u-menu-cells{
	padding: 30rpx 0;
}
.menu-box{
	text-align: center;
	line-height: 1;
	image{
		width: 100rpx;
		height: 100rpx;
	}
}
.uc-grid{
	background: url(../../static/images/ucbg.jpg) no-repeat;
	background-size: cover;
	height: 390rpx;
	color: #FFFFFF;
	padding-top: 50rpx;
	.ybutton{
		width: 214rpx;
		height: 60rpx;
		padding: 0;
		line-height:60rpx;
		border-radius:50rpx;
		font-size: 26rpx;
		color: #FFFFFF;
		background-image: linear-gradient(to right, #ffc450 , #ff921e);
	}
}




</style>
